<#import "/common/function.ftl" as fn>
<@fn.header _title="">
<script charset="utf-8" src="${base}/resources/common/editor/kindeditor.js"></script>
<script charset="utf-8" src="${base}/resources/common/editor/lang/zh_CN.js"></script>
</@fn.header>
<script>
        var editor;
        KindEditor.ready(function(K) {
                editor = K.create('#editor_id');
        });
</script>
<body style="width:100%" class="list">
<form id="validateForm" action="<#if isAddAction>save<#else>update</#if>" method="post">
	<h2><img src="${base}/resources/style/images/iconDivM.gif" width="16" height="16" />模板管理</h2>
	<div class="title marginTop15">
		<div class="title-middle">
			<div class="title-left"></div>
			<div class="title-caption">编辑模板</div>
            <div class="title-right"></div>
		</div>
	</div>
	<input type="hidden" name="fileName" value="${fileName}"/>
	<table  class="table3" id="userListTable" style="width:100%" align="left">
		<tr>
			<td>
				<textarea id="editor_id" name="content" style="width:100%;height:400px;">${content}</textarea>
			</td>
		</tr>
	</table>
	<input type="submit" class="button" value="确 定" />
	<input type="button" class="button" value="返 回" onclick="javascript:history.go(-1);" />
</form>
</body>
</html>